package com.foreverwin.mes.meapi.mapper;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.foreverwin.mes.meapi.model.BomComponent;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-07
 */
@Repository
public interface BomComponentMapper extends BaseMapper<BomComponent> {

    List<BomComponent> selectBomComponentByOperation(@Param("ew") Wrapper<BomComponent> wrapper, @Param("operationBo") String operationBo);

    List<BomComponent> selectByBomBo(@Param("locale") String locale, @Param("bomBo") String bomBo);
}